#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2020/9/17 17:31
# @File    : setting.py


import os
import time

DEBUG = True

SESSION_SECERT_KEY = os.urandom(24)

# 取绝对路径,D:\Dome\pyDome\flask_py
BASEDIR = os.path.abspath(os.path.dirname(__file__))

DB_CURRENT = 0

DB = [['192.168.1.9', '1433', 'sa', 'Mssql-123', 'FAMS'],
      ['jj.shkl.cc', '1433', 'sa', 'Mssql-123', 'FAMS']
      ]

DINGTALK = {
    'CorpId': 'ding5979cd3de2b216c435c2f4657eb6378f',
    'AgentId': '222490918',
    'AppKey': 'dingiauzpmjgatkfpnye',
    'AppSecret': '9ywifdYSIhRVRj5y-XsnT7iMOC115MIqljRLL5UQAIHHUQi_WtsqiBgaO71eVc70'
}

def DingSleep():
    time.sleep(0.04)